package org.dxy.service;

import org.dxy.entity.Order;
import java.math.BigDecimal;
import java.util.List;

// 订单服务接口
public interface OrderService {
    Order createOrder(Long userId, Long tripId, String seatType, String seatNumber, BigDecimal totalPrice);
    Order payOrder(Long orderId);
    List<Order> getUserOrders(Long userId);
    List<Order> getAllOrders();
    void cancelOrder(Long orderId);
}
